package Sensors;

public class Alarm extends Sensor {
	
	public Alarm (boolean on, String location) {
		super(on?1:0, location);
		
		event.setCategory("AlarmState");
		event.setSensor("AlarmStateSensor");
	}
}
